package com.ningxia.water.enums;

/**
 * @author huangzhen
 * @create 2021-05-20 17:24
 */
public enum WarnStatusEnum {
    /**
     * code=0=未处理
     */
    UNTREATED(0, "未处理"),
    /**
     * code=1=已处理
     */
    PROCESSED(1, "已处理");

    private final Integer code;
    private final String value;

    WarnStatusEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    /**
     * 获取code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * 获取value
     */
    public String getValue() {
        return value;
    }

}
